package cn.iocoder.yudao.module.hs.controller.admin.entryorder.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 入库单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class EntryOrderRespVO {

    @Schema(description = "入库单主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19289")
    @ExcelProperty("入库单主键")
    private Long id;

    @Schema(description = "入库单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("入库单号")
    private String no;

    @Schema(description = "出库单id", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("出库单id")
    private Long shipOrderId;

    @Schema(description = "所在仓库", requiredMode = Schema.RequiredMode.REQUIRED, example = "2054")
    @ExcelProperty("所在仓库")
    private Long warehouseId;

    @Schema(description = "仓库分类：生产仓库-PRODUCTION；三方仓库-TRIPARTITE")
    @ExcelProperty("仓库分类")
    private String warehouseType;

    @Schema(description = "操作人")
    @ExcelProperty("操作人")
    private String operator;

    @Schema(description = "创建人")
    @ExcelProperty("创建人")
    private String creator;

    @Schema(description = "状态")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "入库时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("入库时间")
    private LocalDateTime entryTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人名称")
    @ExcelProperty("创建人名称")
    private String creatorName;

    @Schema(description = "操作人名称")
    @ExcelProperty("操作人名称")
    private String operatorName;
}